package org.jeecg.modules.supplier.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.supplier.dto.ProductRelationDto;
import org.jeecg.modules.supplier.entity.PdPurchaseDetail;

import java.util.List;

/**
 * <p>
 * 申购订单明细表 服务类
 * </p>
 *
 * @author twm
 * @since 2021-06-22
 */
public interface PdPurchaseDetailService extends IService<PdPurchaseDetail> {


    /**
     *
     * @param firm 供应商Id
     * @param startDate
     * @param endDate
     * @param status
     * @return
     */
    List<ProductRelationDto> getProduceRelation(String firm,String startDate,String endDate,Integer status,
                                                String spec, String name,String disStartDate,String disEndDate);


    boolean updataOrderFormStatus(String orderFormId,Integer status);
}
